/status/app/health/monitor//serverUp

The nodes below this one perform the functions described in this function overview.

Use

Use to view the configured criteria to determine when a server that is down should be marked as up, because the specified number of health probes has succeeded.

Parameters

name: Name of health monitor

Data Type

subtree

Request Methods

GET

Examples

GET

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/status/app/health/monitor/hm-01/serverUp

GET Response

{"/status/app/health/monitor/hm-01/serverUp": {"data": None,
                                                "default": False,
                                                "defaultAllowed": False,
                                                "deleteAllowed": False,
                                                "numChildren": 2,
                                                "type": "subtree"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/status/app/health/monitor/hm-01/serverUp"}

GET (list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/status/app/health/mon itor/hm-01/serverUp?op=list

GET Response

{"/status/app/health/monitor/hm-01/serverUp": {"children": {"/status/app/health/monitor/hm-01/serverUp/threshold": {"default": False,
                                                                                                                       "defaultAllowed": False,
                                                                                                                       "deleteAllowed": False,
                                                                                                                       "numChildren": 0,
                                                                                                                       "type": "uint32"},
                                                              "/status/app/health/monitor/hm-01/serverUp/window": {"default": False,
                                                                                                                    "defaultAllowed": False,
                                                                                                                    "deleteAllowed": False,
                                                                                                                    "numChildren": 0,
                                                                                                                    "type": "uint32"}},
                                                "default": False,
                                                "defaultAllowed": False,
                                                "deleteAllowed": False,
                                                "numChildren": 2,
                                                "type": "subtree"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/status/app/health/monitor/hm-01/serverUp"}

GET (recursively list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/status/app/health/mon itor/hm-01/serverUp?level=recurse

  1. /status/app/health/monitor//serverUp 1. Parameters 2. Data Type 3. Request Methods 4. Related 5. Examples